package com.svse.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import java.util.Date;

/**
 * <p>
 *
 * </p>
 *
 * @author 李宇航
 * @since 2019-11-25
 */
@TableName("userredpacket")
@Data
public class UserredpacketEntity extends Model<UserredpacketEntity> {

    private static final long serialVersionUID = 1L;

    /**
     * 用户红包ID
     */
    @TableId("UserRedPacket")
    private Integer UserRedPacket;

    /**
     * 红包ID
     */
    @TableField("redPacketId")
    private Integer redPacketId;

    /**
     * 用户ID
     */
    @TableField("userId")
    private Integer userId;

    /**
     * 金额
     */
    private Double amount;

    /**
     * 时间
     */
    @TableField("globalDate")
    private Date globalDate;

    /**
     * 备注
     */
    private String note;

}
